package com.sg.dto.biz.bff.common;


import com.sg.common.dto.PagedDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.Objects;

/**
 * @desc BffStepDto
 * @使用场景
 */
@Data
public class BffStepDto extends PagedDto implements Serializable {

    /**
     * 步骤ID:
     */
    @ApiModelProperty("步骤ID")
    private String assistStepId;

    /**
     * 步骤名称:
     */
    @ApiModelProperty("步骤名称")
    private String stepName;

    /**
     * 步骤编码:
     */
    @ApiModelProperty("步骤编码")
    private String stepNameCode;

    /**
     * 排序:
     */
    @ApiModelProperty("排序")
    private Long orderNumber;

    /**
     * 主体生命周期:
     */
    @ApiModelProperty("主体生命周期")
    private String subjectLifeCycle;

    /**
     * 操作人就职记录ID:
     */
    @ApiModelProperty("操作人就职记录ID")
    private String operationInductionId;

    /**
     * 操作时间:
     */
    @ApiModelProperty("操作时间")
    private Date operateTime;

    /**
     * 个人账号ID:
     */
    @ApiModelProperty("个人账号ID")
    private String userId;

    /**
     * 真实头像:
     */
    @ApiModelProperty("真实头像")
    private String userFace;

    /**
     * 真实姓名:
     */
    @ApiModelProperty("真实姓名")
    private String idCardName;

    /**
     * 用户昵称:
     */
    @ApiModelProperty("用户昵称")
    private String nickName;
    /**
     * 编辑下“下一步”名称
     */
    @ApiModelProperty("编辑下“下一步”名称")
    private String editAssistStepName;

    /**
     * 修订下“下一步”名称
     */
    @ApiModelProperty("修订下“下一步”名称")
    private String changeAssistStepName;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        if (!super.equals(o)) return false;
        BffStepDto that = (BffStepDto) o;
        return assistStepId == that.assistStepId && stepName == that.stepName && stepNameCode == that.stepNameCode && orderNumber == that.orderNumber && subjectLifeCycle == that.subjectLifeCycle && operationInductionId == that.operationInductionId && operateTime == that.operateTime && userId == that.userId && userFace == that.userFace && idCardName == that.idCardName && nickName == that.nickName && editAssistStepName == that.editAssistStepName && changeAssistStepName == that.changeAssistStepName;
    }

    @Override
    public int hashCode() {
        return Objects.hash(super.hashCode(), assistStepId, stepName, stepNameCode, orderNumber, subjectLifeCycle, operationInductionId, operateTime, userId, userFace, idCardName, nickName, editAssistStepName, changeAssistStepName);
    }

}
